package com.hz.copyingsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2023-06-05 18:37:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("hz_recommend_stele_calligraphy")
public class RecommendSteleCalligraphyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 推荐碑帖id
	 */
	@TableId(type = IdType.ID_WORKER)
	@ApiModelProperty(value = "推荐碑帖id", dataType = "Long")
	private Long id;
	/**
	 * 临摹碑帖src
	 */
	@ApiModelProperty(value = "临摹碑帖src", dataType = "String")
	private String steleCalligraphy;
	/**
	 * 临摹碑帖缩略图src
	 */
	@ApiModelProperty(value = "临摹碑帖缩略图src", dataType = "String")
	private String steleCalligraphyThumbnail;
	/**
	 * 临摹碑帖id
	 */
	@ApiModelProperty(value = "临摹碑帖id", dataType = "Long")
	private Long sid;
	/**
	 * 推荐碑帖集合id
	 */
	@ApiModelProperty(value = "推荐碑帖集合id", dataType = "Long")
	private Long rid;
	/**
	 * 临摹碑帖名称
	 */
	@ApiModelProperty(value = "临摹碑帖名称", dataType = "String")
	private String steleCalligraphyName;
	/**
	 * 碑帖简介
	 */
	@ApiModelProperty(value = "碑帖简介", dataType = "String")
	private String calligraphyIntroduction;
	/**
	 * 书家介绍
	 */
	@ApiModelProperty(value = "书家介绍", dataType = "String")
	private String calligrapherIntroduction;
	/**
	 * 顺序
	 */
	@ApiModelProperty(value = "顺序", dataType = "Integer")
	private Integer sorder;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", dataType = "Date")
	private Date createtime;

	public RecommendSteleCalligraphyEntity(String steleCalligraphy, String steleCalligraphyThumbnail, Long sid, Long rid, String steleCalligraphyName, String calligraphyIntroduction, String calligrapherIntroduction, Integer sorder, Date createtime) {
		this.steleCalligraphy = steleCalligraphy;
		this.steleCalligraphyThumbnail = steleCalligraphyThumbnail;
		this.sid = sid;
		this.rid = rid;
		this.steleCalligraphyName = steleCalligraphyName;
		this.calligraphyIntroduction = calligraphyIntroduction;
		this.calligrapherIntroduction = calligrapherIntroduction;
		this.sorder = sorder;
		this.createtime = createtime;
	}

	public RecommendSteleCalligraphyEntity(Long id, Integer sorder) {
		this.id = id;
		this.sorder = sorder;
	}
}
